package com.icity.entity.ad;

import java.io.Serializable;
import java.util.Date;

/**
 * 广告实体
 * @author Lyn
 * @date 2018.08.14
 */
public class Banner implements Serializable{

	private static final long serialVersionUID = -2925606730444303677L;

	private String unique_code;//唯一标识
	private Integer platform_type;//展现平台 ：1.APP；2.H5；3.TV；4.大屏
	/*
	 * 展示页面：
	 * App，H5，Tv（1.推荐banner;2.阅读banner;3.艺术banner；4.生活banner; 5.开屏）；
	 * 大屏（1.开屏）
	 */
	private Integer bcolumn;
	private Integer position;//展示位置：1.上部；2.中部
	private String name;//名称
	private String poster;//图片
	private String other_poster;//其他图片：例如（欢迎页适配iphoneX）
	private Integer res_type;//链接类型：1.文章；2.视频；3.h5；4.图书；5.文化活动
	private String res_code;//链接code  (文章ID，视频ID，文化活动ID)
	private Integer torder;//排序
	private Date start_time;//开始时间
	private Date end_time;//结束时间
	private Integer status;//1启用；2禁用
	private String h5_url;//App活动链接
	private String h5_pcurl;//WAP活动链接
	private String h5_describe;//h5描述
	private String remark;//备注
	private Integer is_share;//是否分享1是；2.否
	private Date create_time;//创建时间
	private Date update_time;//修改时间
	private String partner_id;//合伙人id
	private String partner_pid;//合伙人父级id
	private String application_code;
	private Integer product_type;

	//业务需要，数据库无需添加
	private String start_time_string;//开始时间string类型
	private String end_time_string;//结束时间string类型

	public Integer getPosition() {
		return position;
	}
	public void setPosition(Integer position) {
		this.position = position;
	}
	public Integer getProduct_type() {
		return product_type;
	}
	public void setProduct_type(Integer product_type) {
		this.product_type = product_type;
	}
	public String getApplication_code() {
		return application_code;
	}
	public void setApplication_code(String application_code) {
		this.application_code = application_code;
	}
	public String getPartner_id() {
		return partner_id;
	}
	public void setPartner_id(String partner_id) {
		this.partner_id = partner_id;
	}
	public String getPartner_pid() {
		return partner_pid;
	}
	public void setPartner_pid(String partner_pid) {
		this.partner_pid = partner_pid;
	}
	public String getStart_time_string() {
		return start_time_string;
	}
	public void setStart_time_string(String start_time_string) {
		this.start_time_string = start_time_string;
	}
	public String getEnd_time_string() {
		return end_time_string;
	}
	public void setEnd_time_string(String end_time_string) {
		this.end_time_string = end_time_string;
	}
	public String getUnique_code() {
		return unique_code;
	}
	public void setUnique_code(String unique_code) {
		this.unique_code = unique_code;
	}
	public Integer getPlatform_type() {
		return platform_type;
	}
	public void setPlatform_type(Integer platform_type) {
		this.platform_type = platform_type;
	}
	public Integer getBcolumn() {
		return bcolumn;
	}
	public void setBcolumn(Integer bcolumn) {
		this.bcolumn = bcolumn;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPoster() {
		return poster;
	}
	public void setPoster(String poster) {
		this.poster = poster;
	}
	public String getOther_poster() {
		return other_poster;
	}
	public void setOther_poster(String other_poster) {
		this.other_poster = other_poster;
	}
	public Integer getRes_type() {
		return res_type;
	}
	public void setRes_type(Integer res_type) {
		this.res_type = res_type;
	}
	public String getRes_code() {
		return res_code;
	}
	public void setRes_code(String res_code) {
		this.res_code = res_code;
	}
	public Integer getTorder() {
		return torder;
	}
	public void setTorder(Integer torder) {
		this.torder = torder;
	}
	public Date getStart_time() {
		return start_time;
	}
	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}
	public Date getEnd_time() {
		return end_time;
	}
	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getH5_url() {
		return h5_url;
	}
	public void setH5_url(String h5_url) {
		this.h5_url = h5_url;
	}
	public String getH5_pcurl() {
		return h5_pcurl;
	}
	public void setH5_pcurl(String h5_pcurl) {
		this.h5_pcurl = h5_pcurl;
	}
	public String getH5_describe() {
		return h5_describe;
	}
	public void setH5_describe(String h5_describe) {
		this.h5_describe = h5_describe;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getIs_share() {
		return is_share;
	}
	public void setIs_share(Integer is_share) {
		this.is_share = is_share;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public Date getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

}
